public class Test {
    public static void main(String[] args) {
        MySingleList mySingleList = new MySingleList();
        //mySingleList.creatList();
        //mySingleList.display();
//        System.out.println(mySingleList.contains(11));
//        System.out.println(mySingleList.size());

        mySingleList.addLast(6);
        mySingleList.addLast(7);
        mySingleList.addLast(8);
        mySingleList.addLast(9);
        mySingleList.addLast(10);
        mySingleList.clear();

        mySingleList.display();



    }
}
